package com.lnu.information.fly;

/**
 * @author : jian.zhang-2
 * @description:
 * @date : Create in 3:33 PM 2022/4/21
 * @modified By :
 */
public class Fighter extends AirCraft{
    public Fighter() {
        flyBehavior = new SubSonicFly();
        takeOffBehavior = new LongDistanceTakeOff();
    }

    public static void main(String[] args) {
        Helicopter h = new Helicopter();
        h.fly();
        h.takeoff();
        Fighter f = new Fighter();
        f.fly();
        f.takeoff();
    }
}
